package mebp.genetic.stop;

import mebp.genetic.Individuum;
import mebp.genetic.Population;

public interface StopStrategy {

	/**
	 * Start a new run
	 */
	void start();

	/**
	 * should we finish the search?
	 * @param population
	 * @return
	 */
	boolean isFinished(Population population);

	
	/**
	 * Returnes the best Individuum so far, even when the last population had it worse
	 * @return
	 */
	Individuum getBest();
	
}
